package org.rcgwt.client.ui.grid.event;

/**
 * Define the model change state
 * 
 * @author Matthieu ROBERT
 */
public interface IModelChangeState {

    public enum ChangeStateType {
        STRUCTURE, UPDATE
    }

    /**
     * Change state type
     */
    ChangeStateType getType();

    /**
     * 
     * @return start index for new or modified row
     */
    int getStart();

    /**
     * 
     * @return End index for new or modified row
     */
    int getCount();

    int getDeltaCount();
}
